package com.yipei.business.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yipei.common.annotation.Excel;
import com.yipei.common.core.domain.BaseEntity;

/**
 * 节日表对象 ml_holiday
 * 
 * @author yipei
 * @date 2025-01-22
 */
@Data
@TableName("ml_holiday")
public class MlHoliday extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date holidayTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setHolidayTime(Date holidayTime) 
    {
        this.holidayTime = holidayTime;
    }

    public Date getHolidayTime() 
    {
        return holidayTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("holidayTime", getHolidayTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
